package com.heima.model.user.pojos;

import lombok.Data;

import java.util.Map;

/**
 * @Description
 * @Author pure
 * @Date DATE D A T E {TIME}
 */
@Data
public class routes {
//    private String path;
//    private String component;
//    private String redirect;
//    private Boolean alwaysShow;
//    private Map<String,Object> meta;
//    private Map[] children;
//    private Map<String,Object> childrenlist;

    private String json="{path: '/permission',component: 'layout/Layout',redirect: '/permission/index',alwaysShow: true,meta: {title: 'permission',icon: 'lock',roles: ['admin', 'editor']},children: [{path: 'page',component: 'views/permission/page',name: 'PagePermission',meta: title: 'pagePermission',roles: ['admin']}},{path: 'directive',component: 'views/permission/directive',name: 'DirectivePermission',meta: {title: 'directivePermission'}},{ path: 'external-link', component: 'layout/Layout', children: [{path: 'https://github.com/PanJiaChen/vue-element-admin', meta: { title: 'externalLink', icon: 'link' } }]},{ path: '*', redirect: '/404', hidden: true }";

}
